package org.jeecg.modules.sg.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 入宿管理
 * @Author: jeecg-boot
 * @Date:   2022-09-27
 * @Version: V1.0
 */
@Data
@TableName("sg_in_room")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sg_in_room对象", description="入宿管理")
public class SgInRoom implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**状态*/
    @Excel(name = "状态", width = 15, dicCode = "rszt")
    @Dict(dicCode = "rszt")
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
	/**申请时间*/
	@Excel(name = "申请时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "申请时间")
    private java.util.Date appDate;
	/**审核时间*/
	@Excel(name = "审核时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "审核时间")
    private java.util.Date audDate;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**人员*/
    @ApiModelProperty(value = "人员")
    private java.lang.String presonId;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private java.lang.String name;
	/**人员编号*/
	@Excel(name = "人员编号", width = 15)
    @ApiModelProperty(value = "人员编号")
    private java.lang.String code;
	/**性别*/
    @Excel(name = "性别", width = 15, dicCode = "sex")
    @Dict(dicCode = "sex")
    @ApiModelProperty(value = "性别")
    private java.lang.String sex;
	/**电话*/
	@Excel(name = "电话", width = 15)
    @ApiModelProperty(value = "电话")
    private java.lang.String phone;
	/**出生日期*/
	@Excel(name = "出生日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "出生日期")
    private java.util.Date birthday;
	/**身份证*/
	@Excel(name = "身份证", width = 15)
    @ApiModelProperty(value = "身份证")
    private java.lang.String idcard;
	/**年龄*/
	@Excel(name = "年龄", width = 15)
    @ApiModelProperty(value = "年龄")
    private java.lang.Integer age;
	/**家庭住址*/
	@Excel(name = "家庭住址", width = 15)
    @ApiModelProperty(value = "家庭住址")
    private java.lang.String address;
	/**所属公司*/
    @Excel(name = "所属公司",dictTable ="sys_depart",dicText = "depart_name",dicCode = "id", width = 15)
    @Dict(dictTable ="sys_depart",dicText = "depart_name",dicCode = "id")
    @ApiModelProperty(value = "所属公司")
    private java.lang.String companyId;
	/**劳务公司*/
    @Excel(name = "劳务公司",dictTable ="sys_depart",dicText = "depart_name",dicCode = "id", width = 15)
    @Dict(dictTable ="sys_depart",dicText = "depart_name",dicCode = "id")
    @ApiModelProperty(value = "劳务公司")
    private java.lang.String laborId;
    /**房间号*/
    @Excel(name = "房间号",dictTable ="sg_room",dicText = "name",dicCode = "id", width = 15)
    @ApiModelProperty(value = "房间号")
    @Dict(dictTable ="sg_room",dicText = "name",dicCode = "id")
    private java.lang.String roomId;
    /**床位号*/
    @Excel(name = "床位号", dictTable ="sg_berth",dicText = "name",dicCode = "id", width = 15)
    @Dict(dictTable ="sg_berth",dicText = "name",dicCode = "id")
    private java.lang.String berthId;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
    private java.lang.String thosedept;
	/**所属科室*/
	@Excel(name = "所属科室", width = 15)
    @ApiModelProperty(value = "所属科室")
    private java.lang.String thoseoffice;
	/**所属班组*/
	@Excel(name = "所属班组", width = 15)
    @ApiModelProperty(value = "所属班组")
    private java.lang.String thosegroup;
    /**入宿时间*/
    @Excel(name = "入宿时间", width = 15, format = "yyyy-MM-dd HH:mm")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern="yyyy-MM-dd  HH:mm")
    @ApiModelProperty(value = "入宿时间")
    private java.util.Date inRoomDate;
	/**费用承担*/
    @Excel(name = "费用承担", width = 15, dicCode = "costBearing")
    @Dict(dicCode = "cdfs")
    @ApiModelProperty(value = "费用承担")
    private java.lang.String costBearing;
	/**领用房卡*/
    @Excel(name = "领用房卡", width = 15 , dicCode = "recipientsRoomCard")
    @Dict(dicCode = "shzf")
    @ApiModelProperty(value = "领用房卡")
    private java.lang.String recipientsRoomCard;
	/**领用床卡*/
    @Excel(name = "领用床卡", width = 15 , dicCode = "recipientsBerthCard")
    @Dict(dicCode = "shzf")
    @ApiModelProperty(value = "领用床卡")
    private java.lang.String recipientsBerthCard;
}
